package entitys;

import java.io.Serializable;
import java.sql.Date;

import enums.Position;
import enums.Status;

public class Employee extends User implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	Date startDate;
	float salery;
	Position position;
	Status status;
	
	public Employee(String userId,String password,String fname,String lname,String address,String phone, String email,String id,Position position,String birth)
	{
		super(userId,password,fname,lname,address,phone,email,id,birth);
		this.position=position;
	}
	
	public void setStatus(Status status) {
		this.status = status;
	}
	public Status getStatus() {
		return status;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public float getSalery() {
		return salery;
	}
	public void setSalery(float salery) {
		this.salery = salery;
	}
	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	
}
